package com.ellricky.baselib.adapter

import android.content.Context
import com.andr.common.ui.adapter.BaseRecyclerAdapter
import com.andr.common.ui.adapter.SmartViewHolder
import com.ellricky.baselib.R
import com.ellricky.baselib.entity.new.Return

class CluePoolAdapter(context: Context) :
    BaseRecyclerAdapter<Return>(R.layout.base_adapter_clue_pool) {

    override fun onBindViewHolder(vh: SmartViewHolder, data: Return, p2: Int) {
        vh.text(R.id.tv_time, data.return_time)
            .text(R.id.tv_content, data.return_name + ":" + data.return_remark)
    }
}